#include <string.h>
namespace SV_STRBO_BOUND_COPY_OVERFLOW {

	namespace bad {
		int main(int argc, char* argv[]) {
			char foo[10];
			char bar[] = "this text is too long";
			strncpy(foo, bar, sizeof(bar));
		}
	}

	namespace good {
		int main(int argc, char* argv[]) {
			char foo[10];
			char bar[] = "this text is too long";
			strncpy(foo, bar, sizeof(foo));
		}
	}
}